package com.develop.BeanUtils;

public class AlarmInfo {
	/**
	 *  告警流水号	alarmSeq
		告警标题	alarmTitle
		告警状态	alarmStatus
		告警类型	alarmType
		原始级别	origSeverity
		事件发生时间	eventTime
		事件到达OMC时间	omcReceivedTime
		告警唯一标识	alarmId
		告警问题原因ID	specificProblemID
		告警问题原因	specificProblem
		OMC UID	    omcUID
		告警网元UID	neUID
		告警网元名称	neName
		告警网元设备类型	neType
		告警定位对象UID	objectUID
		告警定位对象名称	objectName
		告警定位对象资源类型	objectType
		告警定位信息	   locationInfo
		电子序列号	       eSerialNum
		告警辅助信息	   addInfo
		告警远端网元UID	rNeUID
		告警远端网元名称	rNeName
		告警远端网元类型	rNeType
	 */
	private Integer alarmSeq;
	private String alarmTitle;
	private Integer alarmStatus;
	private String alarmType;
	private Integer origSeverity;
	private String eventTime;
	private String omcReceivedTime;
	private String alarmId;
	private String specificProblemID;
	private String specificProblem;
	private String omcUID;
	private String neUID;
	private String neName;
	private String neType;
	private String objectUID;
	private String objectName;
	private String objectType;
	private String locationInfo;
	private String eSerialNum;
	private String addInfo;
	private String rNeUID;
	private String rNeName;
	private String rNeType;
	
	
	
	public AlarmInfo(Integer alarmSeq, String alarmTitle, Integer alarmStatus, String alarmType, Integer origSeverity,
			String eventTime, String omcReceivedTime, String alarmId, String specificProblemID, String specificProblem,
			String omcUID, String neUID, String neName, String neType, String objectUID, String objectName,
			String objectType, String locationInfo, String eSerialNum, String addInfo, String rNeUID, String rNeName,
			String rNeType) {
		super();
		this.alarmSeq = alarmSeq;
		this.alarmTitle = alarmTitle;
		this.alarmStatus = alarmStatus;
		this.alarmType = alarmType;
		this.origSeverity = origSeverity;
		this.eventTime = eventTime;
		this.omcReceivedTime = omcReceivedTime;
		this.alarmId = alarmId;
		this.specificProblemID = specificProblemID;
		this.specificProblem = specificProblem;
		this.omcUID = omcUID;
		this.neUID = neUID;
		this.neName = neName;
		this.neType = neType;
		this.objectUID = objectUID;
		this.objectName = objectName;
		this.objectType = objectType;
		this.locationInfo = locationInfo;
		this.eSerialNum = eSerialNum;
		this.addInfo = addInfo;
		this.rNeUID = rNeUID;
		this.rNeName = rNeName;
		this.rNeType = rNeType;
	}
	@Override
	public String toString() {
		return "AlarmInfo [alarmSeq=" + alarmSeq + ", alarmTitle=" + alarmTitle + ", alarmStatus=" + alarmStatus
				+ ", alarmType=" + alarmType + ", origSeverity=" + origSeverity + ", eventTime=" + eventTime
				+ ", omcReceivedTime=" + omcReceivedTime + ", alarmId=" + alarmId + ", specificProblemID="
				+ specificProblemID + ", specificProblem=" + specificProblem + ", omcUID=" + omcUID + ", neUID=" + neUID
				+ ", neName=" + neName + ", neType=" + neType + ", objectUID=" + objectUID + ", objectName="
				+ objectName + ", objectType=" + objectType + ", locationInfo=" + locationInfo + ", eSerialNum="
				+ eSerialNum + ", addInfo=" + addInfo + ", rNeUID=" + rNeUID + ", rNeName=" + rNeName + ", rNeType="
				+ rNeType + "]";
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((addInfo == null) ? 0 : addInfo.hashCode());
		result = prime * result + ((alarmId == null) ? 0 : alarmId.hashCode());
		result = prime * result + ((alarmSeq == null) ? 0 : alarmSeq.hashCode());
		result = prime * result + ((alarmStatus == null) ? 0 : alarmStatus.hashCode());
		result = prime * result + ((alarmTitle == null) ? 0 : alarmTitle.hashCode());
		result = prime * result + ((alarmType == null) ? 0 : alarmType.hashCode());
		result = prime * result + ((eSerialNum == null) ? 0 : eSerialNum.hashCode());
		result = prime * result + ((eventTime == null) ? 0 : eventTime.hashCode());
		result = prime * result + ((locationInfo == null) ? 0 : locationInfo.hashCode());
		result = prime * result + ((neName == null) ? 0 : neName.hashCode());
		result = prime * result + ((neType == null) ? 0 : neType.hashCode());
		result = prime * result + ((neUID == null) ? 0 : neUID.hashCode());
		result = prime * result + ((objectName == null) ? 0 : objectName.hashCode());
		result = prime * result + ((objectType == null) ? 0 : objectType.hashCode());
		result = prime * result + ((objectUID == null) ? 0 : objectUID.hashCode());
		result = prime * result + ((omcReceivedTime == null) ? 0 : omcReceivedTime.hashCode());
		result = prime * result + ((omcUID == null) ? 0 : omcUID.hashCode());
		result = prime * result + ((origSeverity == null) ? 0 : origSeverity.hashCode());
		result = prime * result + ((rNeName == null) ? 0 : rNeName.hashCode());
		result = prime * result + ((rNeType == null) ? 0 : rNeType.hashCode());
		result = prime * result + ((rNeUID == null) ? 0 : rNeUID.hashCode());
		result = prime * result + ((specificProblem == null) ? 0 : specificProblem.hashCode());
		result = prime * result + ((specificProblemID == null) ? 0 : specificProblemID.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		AlarmInfo other = (AlarmInfo) obj;
		if (addInfo == null) {
			if (other.addInfo != null)
				return false;
		} else if (!addInfo.equals(other.addInfo))
			return false;
		if (alarmId == null) {
			if (other.alarmId != null)
				return false;
		} else if (!alarmId.equals(other.alarmId))
			return false;
		if (alarmSeq == null) {
			if (other.alarmSeq != null)
				return false;
		} else if (!alarmSeq.equals(other.alarmSeq))
			return false;
		if (alarmStatus == null) {
			if (other.alarmStatus != null)
				return false;
		} else if (!alarmStatus.equals(other.alarmStatus))
			return false;
		if (alarmTitle == null) {
			if (other.alarmTitle != null)
				return false;
		} else if (!alarmTitle.equals(other.alarmTitle))
			return false;
		if (alarmType == null) {
			if (other.alarmType != null)
				return false;
		} else if (!alarmType.equals(other.alarmType))
			return false;
		if (eSerialNum == null) {
			if (other.eSerialNum != null)
				return false;
		} else if (!eSerialNum.equals(other.eSerialNum))
			return false;
		if (eventTime == null) {
			if (other.eventTime != null)
				return false;
		} else if (!eventTime.equals(other.eventTime))
			return false;
		if (locationInfo == null) {
			if (other.locationInfo != null)
				return false;
		} else if (!locationInfo.equals(other.locationInfo))
			return false;
		if (neName == null) {
			if (other.neName != null)
				return false;
		} else if (!neName.equals(other.neName))
			return false;
		if (neType == null) {
			if (other.neType != null)
				return false;
		} else if (!neType.equals(other.neType))
			return false;
		if (neUID == null) {
			if (other.neUID != null)
				return false;
		} else if (!neUID.equals(other.neUID))
			return false;
		if (objectName == null) {
			if (other.objectName != null)
				return false;
		} else if (!objectName.equals(other.objectName))
			return false;
		if (objectType == null) {
			if (other.objectType != null)
				return false;
		} else if (!objectType.equals(other.objectType))
			return false;
		if (objectUID == null) {
			if (other.objectUID != null)
				return false;
		} else if (!objectUID.equals(other.objectUID))
			return false;
		if (omcReceivedTime == null) {
			if (other.omcReceivedTime != null)
				return false;
		} else if (!omcReceivedTime.equals(other.omcReceivedTime))
			return false;
		if (omcUID == null) {
			if (other.omcUID != null)
				return false;
		} else if (!omcUID.equals(other.omcUID))
			return false;
		if (origSeverity == null) {
			if (other.origSeverity != null)
				return false;
		} else if (!origSeverity.equals(other.origSeverity))
			return false;
		if (rNeName == null) {
			if (other.rNeName != null)
				return false;
		} else if (!rNeName.equals(other.rNeName))
			return false;
		if (rNeType == null) {
			if (other.rNeType != null)
				return false;
		} else if (!rNeType.equals(other.rNeType))
			return false;
		if (rNeUID == null) {
			if (other.rNeUID != null)
				return false;
		} else if (!rNeUID.equals(other.rNeUID))
			return false;
		if (specificProblem == null) {
			if (other.specificProblem != null)
				return false;
		} else if (!specificProblem.equals(other.specificProblem))
			return false;
		if (specificProblemID == null) {
			if (other.specificProblemID != null)
				return false;
		} else if (!specificProblemID.equals(other.specificProblemID))
			return false;
		return true;
	}
	public AlarmInfo() {
		super();
	}
	public Integer getAlarmSeq() {
		return alarmSeq;
	}
	public void setAlarmSeq(Integer alarmSeq) {
		this.alarmSeq = alarmSeq;
	}
	public String getAlarmTitle() {
		return alarmTitle;
	}
	public void setAlarmTitle(String alarmTitle) {
		this.alarmTitle = alarmTitle;
	}
	public Integer getAlarmStatus() {
		return alarmStatus;
	}
	public void setAlarmStatus(Integer alarmStatus) {
		this.alarmStatus = alarmStatus;
	}
	public String getAlarmType() {
		return alarmType;
	}
	public void setAlarmType(String alarmType) {
		this.alarmType = alarmType;
	}
	public Integer getOrigSeverity() {
		return origSeverity;
	}
	public void setOrigSeverity(Integer origSeverity) {
		this.origSeverity = origSeverity;
	}
	public String getEventTime() {
		return eventTime;
	}
	public void setEventTime(String eventTime) {
		this.eventTime = eventTime;
	}
	public String getOmcReceivedTime() {
		return omcReceivedTime;
	}
	public void setOmcReceivedTime(String omcReceivedTime) {
		this.omcReceivedTime = omcReceivedTime;
	}
	public String getAlarmId() {
		return alarmId;
	}
	public void setAlarmId(String alarmId) {
		this.alarmId = alarmId;
	}
	public String getSpecificProblemID() {
		return specificProblemID;
	}
	public void setSpecificProblemID(String specificProblemID) {
		this.specificProblemID = specificProblemID;
	}
	public String getSpecificProblem() {
		return specificProblem;
	}
	public void setSpecificProblem(String specificProblem) {
		this.specificProblem = specificProblem;
	}
	public String getOmcUID() {
		return omcUID;
	}
	public void setOmcUID(String omcUID) {
		this.omcUID = omcUID;
	}
	public String getNeUID() {
		return neUID;
	}
	public void setNeUID(String neUID) {
		this.neUID = neUID;
	}
	public String getNeName() {
		return neName;
	}
	public void setNeName(String neName) {
		this.neName = neName;
	}
	public String getNeType() {
		return neType;
	}
	public void setNeType(String neType) {
		this.neType = neType;
	}
	public String getObjectUID() {
		return objectUID;
	}
	public void setObjectUID(String objectUID) {
		this.objectUID = objectUID;
	}
	public String getObjectName() {
		return objectName;
	}
	public void setObjectName(String objectName) {
		this.objectName = objectName;
	}
	public String getObjectType() {
		return objectType;
	}
	public void setObjectType(String objectType) {
		this.objectType = objectType;
	}
	public String getLocationInfo() {
		return locationInfo;
	}
	public void setLocationInfo(String locationInfo) {
		this.locationInfo = locationInfo;
	}
	public String geteSerialNum() {
		return eSerialNum;
	}
	public void seteSerialNum(String eSerialNum) {
		this.eSerialNum = eSerialNum;
	}
	public String getAddInfo() {
		return addInfo;
	}
	public void setAddInfo(String addInfo) {
		this.addInfo = addInfo;
	}
	public String getrNeUID() {
		return rNeUID;
	}
	public void setrNeUID(String rNeUID) {
		this.rNeUID = rNeUID;
	}
	public String getrNeName() {
		return rNeName;
	}
	public void setrNeName(String rNeName) {
		this.rNeName = rNeName;
	}
	public String getrNeType() {
		return rNeType;
	}
	public void setrNeType(String rNeType) {
		this.rNeType = rNeType;
	}
	
}
